graphql_client 0.11.0

Typed GraphQL requests and responses
Documentation

The top-level documentation resides on the project README at the moment.

The main interface to this library is the custom derive that generates modules from a GraphQL query and schema. See the docs for the [GraphQLQuery] trait for a full example.

Cargo features

  • graphql_query_derive (default: on): enables the #[derive(GraphqlQuery)] custom derive.
  • reqwest (default: off): exposes the graphql_client::reqwest::post_graphql() function.
  • reqwest-blocking (default: off): exposes the blocking version, graphql_client::reqwest::post_graphql_blocking().